home *** CD-ROM | disk | FTP | other *** search
- /* CPreferences - read and save preferences in a (resource) file in a
- preferences folder in the System Folder. */
-
- #define _H_CPreferences
-
- struct CPreferences: CObject {
- int itsFileRefNum;
-
- NEW void IPreferences(void);
- PRIVATE Handle Find(ResType type, int ID);
- NEW Handle Get(ResType type, int ID);
- /* Get() returns NULL if not found. */
- NEW void Put(Handle han, ResType type, int ID, StringPtr name);
- OVERRIDE void Dispose(void);
- /* Dispose() writes back and closes the file. */
- };
-